package com.fr.report.cellElement.core;

import com.fr.base.core.list.IntList;
import com.fr.report.script.Primitive;

public class Group
{
  private Object value;
  private int[] array;

  public Group(Object paramObject, int[] paramArrayOfInt)
  {
    setValue(paramObject);
    setArray(paramArrayOfInt);
  }

  public Object getValue()
  {
    return this.value;
  }

  public void setValue(Object paramObject)
  {
    if (paramObject == null)
      paramObject = Primitive.NULL;
    this.value = paramObject;
  }

  public int[] getArray()
  {
    return this.array;
  }

  public void setArray(int[] paramArrayOfInt)
  {
    this.array = paramArrayOfInt;
  }

  public String toString()
  {
    return this.value + ":" + IntList.asList(this.array);
  }
}